<template>
  <div class="loginContainer">
    <div class="login">
      <div class="touxiang"></div>
      <!-- <a href="javascript:;">登录</a> -->
      <router-link to="/publicLogin">登录</router-link>
      <div class="my">
        <a href="javascript:;">
          <div class="pic">
            <img src="../assets/image/my/urse.png" alt="">
          </div>
          <p>我的</p>
        </a>
      </div>
      <div class="download">
        <a href="javascript:;">
          <div class="pic">
            <img src="../assets/image/my/down.png" alt="">
          </div>
          <p>App</p>
        </a>
      </div>
    </div>
    <div class="myInfo">
      <ul>
        <li>
          <a href="javascript:;">
            <div class="left">
              <div class="icon"></div>
              <span>我关注的房源</span>
            </div>
            <div class="right"></div>
          </a>
        </li>
        <li>
          <a href="javascript:;">
            <div class="left">
              <div class="icon"></div>
              <span>我关注的小区</span>
            </div>
            <div class="right"></div>
          </a>
        </li>
        <li>
          <a href="javascript:;">
            <div class="left">
              <div class="icon"></div>
              <span>我关注的新房</span>
            </div>
            <div class="right"></div>
          </a>
        </li>
        <li>
          <a href="javascript:;">
            <div class="left">
              <div class="icon"></div>
              <span>我关注的记录</span>
            </div>
            <div class="right"></div>
          </a>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
@color: #ff8a00;
@color1: #2f3130;
@vw: 3.20vw;
html {
  background-color: rgb(245, 245, 245);
}
.loginContainer{
  .login {
      position: relative;
      background-image: url(../assets/image/my/bg1.png);
      height: (186/@vw);
      background-size: contain;

      .touxiang {
        width: (52/@vw);
        height: (52/@vw);
        background-image: url(../assets/image/my/urse2.png);
        background-size: contain;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
      }

      >a {
        display: block;
        width: (68/@vw);
        height: (30/@vw);
        text-align: center;
        line-height: (30/@vw);
        color: white;
        border: 1px solid white;
        font-size: (12/@vw);
        position: absolute;
        left: 50%;
        bottom: (30/@vw);
        transform: translateX(-50%);
      }

      .my,
      .download {
        position: absolute;
        top: (12/@vw);
        width: (30/@vw);
        height: (34/@vw);

        a {
          width: inherit;
          height: inherit;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          align-items: center;

          .pic {
            height: (15/@vw);
          }

          p {
            font-size: (12/@vw);
            color: white;
          }
        }
      }

      .my {
        right: (58/@vw);
      }

      .download {
        right: (12/@vw);
      }
    }

    .myInfo {
      margin-top: (12/@vw);

      ul {
        background-color: #fff;

        li {
          padding: 0px (20/@vw);

          a {
            display: flex;
            border-bottom: 1px solid rgb(220, 220, 220);
            justify-content: space-between;
            align-items: center;
            height: (50/@vw);

            .left {
              .icon {
                display: inline-block;
                width: (17/@vw);
                height: (17/@vw);
                background-image: url(../assets/image/my/icon1.png);
                background-size: contain;
              }

              span {
                font-size: (12/@vw);
                color: rgb(102, 102, 102);
              }
            }

            .right {
              width: (8/@vw);
              height: (14/@vw);
              background: url(../assets/image/my/right.png);
              background-size: contain;
            }
          }

          &:nth-child(2) {
            a {
              .left {
                .icon {
                  background-image: url(../assets/image/my/icon2.png);
                }
              }
            }
          }

          &:nth-child(3) {
            a {
              .left {
                .icon {
                  background-image: url(../assets/image/my/icon3.png);
                }
              }
            }
          }

          &:nth-child(4) {
            a {
              .left {
                .icon {
                  background-image: url(../assets/image/my/icon4.png);
                }
              }
            }
          }
        }
      }
    }
}
</style>
